package com.skywolf.chem.pageconfig.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.pageconfig.entity.LoopImg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 轮播图配置表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-06-09
 */
@Mapper
public interface LoopImgMapper extends BaseMapper<LoopImg> {
    List<LoopImg> getLoopImgPageList(@Param("startNum") Long startNum, @Param("endNum") Long endNum,@Param("title") String title);

    Integer getLoopImgPageCount(@Param("title") String title);

    List<LoopImg> getLoopImgList();

    LoopImg loopImgById(@Param("id") Integer id);

}
